package com.itheima.demo.demo09;

import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.Properties;

public class pop1 {
    public static void main(String[] args) throws IOException {
        Properties pop=new Properties();
        pop.load(new FileReader("D:\\POP.txt"));
        String 用户 = pop.getProperty("用户");
        System.out.println(用户);
        System.out.println(pop.get("密码").toString());

    }
}
